<?

/**
* local collection functions of tocmenu_Y1
*
* @author Adesanto Asman
* @version 1.0
* @license Free
* @copyright Copyright (c)2007, Adesanto Asman
* @package CLocal
* 
*/

/**
* @package CLocal
* 
*/
class CLocal{
  
  /**
  * Check if source is true
  * 
  * @param  mixed   $source
  * @return boolean true if source is not null
  *
  */
  function isTrue($source){
    
    if($source){
      
      return 1;
    }else{
      
      return 0;
    }
  }
}

?> 